<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
		<title>上网详情页</title>
		<link rel="stylesheet" type="text/css" href="../css/api.css"/>
		<link rel="stylesheet" type="text/css" href="../css/common.css"/>
		<style>
			body {
			}
		</style>
	</head>
	<body>
		<header class="top-header">
			<div class="top-nav-content flex-between-center">
				<div class="flex-start-center">
					<div id="back" class="top-nav-left icon-arrow-left"></div>
				</div>
				<div>
					上网详情
				</div>
				<div class="flex-start-center">
					<div id="btn-confirm" class="top-nav-right">
						
					</div>
				</div>
			</div>
		</header>
	</body>
	<script type="text/javascript" src="../script/api.js"></script>
	<script type="text/javascript">
		var mData;
		apiready = function() {
			$api.fixStatusBar($api.dom('header'));
			initData();
			initView();
		};
		function initData(){
			mData=api.pageParam;
		}
		function initView() {
			var head = document.getElementsByTagName('header')[0];
			var back=document.getElementById('back');
			back.onclick=function(){
				api.closeWin({
                });
			}
			openFrame(head,mData);
		}

		function openFrame(view,data) {
			var x = 0;
			var y = view.offsetHeight;
			var w = api.winWidth;
			var h = 'auto';
			api.openFrame({
				name : 'details_frame',
				url : './details_frame.html',
				rect : {
					x : x,
					y : y,	
					w : w,
					h : h
				},
				pageParam:data
			});
		}
	</script>
</html>